package com.cskaoyan.app.service;

import com.cskaoyan.app.bean.po.AdminInfoBean;

import java.util.Date;
import java.util.List;

public interface AdminAuthService {
    String getAdminPass(String username);

    List<String> getAdminPerm(String username);

    AdminInfoBean getInfoBean(String username);

    void updateLogin(String username, String host, Date lastLogin);

    List<String> getAdminRoles(String username);

    void changePass(String username, String newPass);
}
